package com.train.pojo;

import java.util.Date;

public class Opinion {
    private Integer opinionId;

    private String openid;

    private String opinionContent;

    private Date opinionCreateTime;

    private Date opinionUpdateTime;

    public Opinion(Integer opinionId, String openid, String opinionContent, Date opinionCreateTime, Date opinionUpdateTime) {
        this.opinionId = opinionId;
        this.openid = openid;
        this.opinionContent = opinionContent;
        this.opinionCreateTime = opinionCreateTime;
        this.opinionUpdateTime = opinionUpdateTime;
    }

    public Opinion() {
        super();
    }

    public Integer getOpinionId() {
        return opinionId;
    }

    public void setOpinionId(Integer opinionId) {
        this.opinionId = opinionId;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public String getOpinionContent() {
        return opinionContent;
    }

    public void setOpinionContent(String opinionContent) {
        this.opinionContent = opinionContent == null ? null : opinionContent.trim();
    }

    public Date getOpinionCreateTime() {
        return opinionCreateTime;
    }

    public void setOpinionCreateTime(Date opinionCreateTime) {
        this.opinionCreateTime = opinionCreateTime;
    }

    public Date getOpinionUpdateTime() {
        return opinionUpdateTime;
    }

    public void setOpinionUpdateTime(Date opinionUpdateTime) {
        this.opinionUpdateTime = opinionUpdateTime;
    }
}